
#!/usr/bin/node
const Writeable=require('stream').Writeable;
let c='a'.charCodeAt(0);
class GreenStream extends Writeable{
  constructor(){
  super();
}
_write(chunk,encoding,callback){
  process.stdout.write('\033[1;32m' + chunk + '\033[1;37m')]]');
  callback();
}
}
let rs=new GreenStream();
process.stdin.pipe(rs);


